home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- ***** BEGIN LICENSE BLOCK *****
-
- Copyright (c) 2004 Jason Adams <jason_nospam@yellowgorilla.net>
-
- This file is part of Image Zoom.
-
- Image Zoom is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- Image Zoom is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Image Zoom; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- ***** END LICENSE BLOCK ***** -->
-
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
- <?xml-stylesheet href="chrome://imagezoom/content/options.css" type="text/css"?>
- <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
-
- <!DOCTYPE window SYSTEM "chrome://imagezoom/locale/imageZoom.dtd">
-
-
- <dialog buttons="accept, cancel"
- id="imagezoom-options-dialog"
- ondialogaccept="imagezoom_saveOptions()"
- onload="imagezoom_initializeOptions()"
- title="&pref.iz.window.label;"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <script type="application/x-javascript" src="chrome://imagezoom/content/global.js"/>
- <script type="application/x-javascript" src="chrome://imagezoom/content/options.js"/>
-
- <vbox flex="1">
- <groupbox>
- <caption label="&pref.iz.ContextDisplay.label;"/>
- <hbox>
- <vbox>
- <checkbox id="imagezoommmZoomIO" label="&pref.iz.ZoomIO.label;" prefstring="imagezoom.mmZoomIO"/>
- <checkbox id="imagezoommmReset" label="&pref.iz.Reset.label;" prefstring="imagezoom.mmReset"/>
- </vbox>
- <vbox>
- <checkbox id="imagezoommmCustomZoom" label="&pref.iz.CustomZoom.label;" prefstring="imagezoom.mmCustomZoom"/>
- <checkbox id="imagezoommmCustomDim" label="&pref.iz.CustomDim.label;" prefstring="imagezoom.mmCustomDim"/>
- </vbox>
- <vbox>
- <checkbox id="imagezoommmFitWindow" label="&pref.iz.FitWindow.label;" prefstring="imagezoom.mmFitWindow"/>
- <checkbox id="imagezoommmZoomPcts" hidden="true" label="&pref.iz.ZoomPcts.label;" prefstring="imagezoom.mmZoomPcts"/>
- </vbox>
- </hbox>
- </groupbox>
- <groupbox>
- <caption label="&pref.iz.SubMenuDisplay.label;"/>
- <hbox>
- <vbox>
- <checkbox id="imagezoomsmZoomIO" label="&pref.iz.ZoomIO.label;" prefstring="imagezoom.smZoomIO"/>
- <checkbox id="imagezoomsmReset" label="&pref.iz.Reset.label;" prefstring="imagezoom.smReset"/>
- </vbox>
- <vbox>
- <checkbox id="imagezoomsmCustomZoom" label="&pref.iz.CustomZoom.label;" prefstring="imagezoom.smCustomZoom"/>
- <checkbox id="imagezoomsmCustomDim" label="&pref.iz.CustomDim.label;" prefstring="imagezoom.smCustomDim"/>
- </vbox>
- <vbox>
- <checkbox id="imagezoomsmFitWindow" label="&pref.iz.FitWindow.label;" prefstring="imagezoom.smFitWindow"/>
- <checkbox id="imagezoomsmZoomPcts" label="&pref.iz.ZoomPcts.label;" prefstring="imagezoom.smZoomPcts"/>
- </vbox>
- </hbox>
- </groupbox>
- <groupbox align="start">
- <caption label="&pref.iz.mousewheel.label;"/>
- <grid flex="1">
- <columns>
- <column/>
- </columns>
- <rows>
- <row>
- <checkbox id="imagezoomusescroll" label="&pref.iz.usescroll.label;" prefstring="imagezoom.usescroll" oncommand="imagezoom_toggleScrollEnabled()"/>
- </row>
- <row align="center">
- <box align="center" flex="1">
- <label id="imagezoomscrollvaluelabelbefore" style="width: 130px" value="&pref.iz.defaultscroll.label;" control="imagezoomscrollvalue"/>
- <menulist id="imagezoomscrollvalue" prefstring="imagezoom.scrollvalue">
- <menupopup>
- <menuitem label="100" value="100"/>
- <menuitem label="75" value="75"/>
- <menuitem label="50" value="50"/>
- <menuitem label="25" value="25"/>
- <menuitem label="10" value="10"/>
- <menuitem label="7" value="7"/>
- <menuitem label="5" value="5"/>
- <menuitem label="4" value="4"/>
- <menuitem label="3" value="3"/>
- <menuitem label="2" value="2"/>
- <menuitem label="1" value="1"/>
- </menupopup>
- </menulist>
- <label id="imagezoomscrollvaluelabelafter" value="%"/>
- </box>
- </row>
- </rows>
- </grid>
- </groupbox>
-
- <groupbox align="start">
- <caption label="&pref.iz.advanced.label;"/>
- <grid flex="1">
- <columns>
- <column/>
- <column/>
- <column/>
- </columns>
- <rows>
- <row align="center">
- <label style="width: 130px" value="&pref.iz.defaultzoom.label;" control="imagezoomzoomvalue"/>
- <menulist id="imagezoomzoomvalue" prefstring="imagezoom.zoomvalue">
- <menupopup>
- <menuitem label="400" value="400"/>
- <menuitem label="300" value="300"/>
- <menuitem label="200" value="200"/>
- <menuitem label="175" value="175"/>
- <menuitem label="150" value="150"/>
- <menuitem label="125" value="125"/>
- <menuitem label="110" value="110"/>
- </menupopup>
- </menulist>
- <label value="%"/>
- </row>
- </rows>
- </grid>
- <checkbox id="imagezoomautocenter" label="&pref.iz.autocenter.label;" prefstring="imagezoom.autocenter"/>
- </groupbox>
- </vbox>
- </dialog>
-